﻿{include file="Public/public" /}
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="settings"></i><em>发送系统通知</em></span>
  </div>
  <form name="form1" action="/adminuser/Insertsystem" method="post" onsubmit="return myCheck()">
  <table class="noborder"> 
      <tr>
          <td style="text-align:right;">发送对象：</td>
          <td>
           <select class="textBox" name="uid">
            <option value="0">非会员</option>
            <option value="1">会员</option>
            <option value="2">所有用户</option>
           </select>
          </td>
      </tr>  
   <tr>
    <td style="text-align:right;"><b>发送内容：</b></td>
    <td>
     <textarea class="textarea" name="content"></textarea>
    </td>
   </tr>
   <tr>
    <td style="text-align:right;"></td>
    <td><input type="submit" value="发送" class="tdBtn"/></td>
   </tr>
  </table>
</form>
 </div>
</body>
</html>
<script type="text/javascript">
  function myCheck()
  {
     for(var i=0;i<document.form1.elements.length-1;i++)
     {
        if(document.form1.elements[i].value=="")
        {
           alert("当前表单不能有空项");
           document.form1.elements[i].focus();
           return false;
        }
     }
     return true;
    
  }
</script>
